.gray-bg {
    background-color: rgba(236, 233, 233, 0.87);
    height:auto;width: 100%;
}
.main-image {
  height: 530px;
  width: 100%;
  border: solid 1px transparent;
  background-repeat: no-repeat;
  background-image: url(./therapy.jpg);
  background-position: center;
  background-size: cover;
}
.main-text {
  height: 220px;
  width: 80%;
  border: solid 2px transparent;
  margin-left: 40px;
  margin-top: 260px;
}

.main-text p {
  font-size: 32px; /* was 30px */
  font-weight: 360;
  color: white;
  margin-left: 70px;
  font-family: "Rajdhani", Sans-serif;
  text-transform: capitalize;
}

.main-text h1 {
  margin-left: 70px;
  color: white;
  font-weight: bolder;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

@media (max-width: 991px) {
  .main-text {
    width: 90%;
    margin-left: 20px;
    height: auto;
    margin-top: 270px;
  }

  .main-text p {
    font-size: 26px; /* was 24px */
    margin-left: 40px;
  }

  .main-text h1 {
    margin-left: 40px;
    font-size: 30px; /* was 28px */
  }
}

@media (max-width: 767px) {
  .main-text {
    width: 95%;
    margin-left: 10px;
    margin-top: 280px;
  }

  .main-text p {
    font-size: 22px; /* was 20px */
    margin-left: 20px;
  }

  .main-text h1 {
    margin-left: 20px;
    font-size: 26px; /* was 24px */
  }
}

@media (max-width: 575px) {
  .main-text {
    width: 100%;
    margin-left: 0;
    margin-top: 290px;
    border-width: 1px;
  }

  .main-text p {
    font-size: 20px; /* was 18px */
    margin-left: 10px;
    text-align: left;
  }

  .main-text h1 {
    font-size: 22px; /* was 20px */
    margin-left: 10px;
    text-align: left;
  }
}
.a1 {
    height: 80px;
    width: 100%;
    border: solid 2px red;
    background-color: rgba(238, 229, 229, 0.87);
}
.custom-row {
      background-color: #e9e9e9;
      padding: 10px;
      font-size: 17px; /* was 16px */
      gap: 15px;
}
.custom-row .label {
      font-weight: bold;
}
    
.nav-tabs {
      border: none;
      justify-content: center;
      flex-wrap: wrap;
}

.nav-tabs .nav-link {
      color: lightgray;
      background-color: gray;
      border: none;
      margin: 4px;
      font-weight: 500;
      border-radius: 0;
      padding: 10px 20px;
      transition: background-color 0.4s ease, color 0.4s ease;
}

.nav-tabs .nav-link.active {
      color: white !important;
      background-color: black !important;
}

.nav-tabs .nav-link:hover {
      color: white;
      background-color: #555;
}

/* Tab Box Styling */
.tab-box {
      background: #f9f9f9;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.404);
      padding: 20px;
}

/* Slide-Fade Animation */
.slide-fade-in {
      opacity: 0;
      transform: translateX(-60px);
      transition: opacity 1s ease, transform 1s ease;
      height: auto;
      border: solid 2px transparent;
      font-size: 19px; /* was 18px */
      color: black;
}
.slide-fade-in h3 {
      font-weight: bold;
      color: black;
}
.slide-fade-in p {
      margin-top:30px;
      text-align: start;
}
.slide-fade-in h5 { 
      margin-top: 24px;
      font-size: 17px; /* was medium (~16px) */
      font-weight: bolder;
      color: black;
      font-weight: 700;
}

.slide-fade-in.active {
      opacity: 1;
      transform: translateX(0);
}

@keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
}

.tab-grid{
      height: 400px;
      border: solid 2px transparent;
}

.tab-pane {
      animation: fadeIn 0.5s;
}

@media (max-width: 576px) {
      .nav-tabs .nav-link {
        font-size: 15px; /* was 14px */
        padding: 8px 14px;
      }
      .tab-box {
        padding: 15px;
      }
}
.table-bg {
      background-color: #eceaea23;
      margin-top: -45px;
}

.roadmap-header {
      background-color: #f47166;
      color: white;
      font-weight: bold;
      text-align: center;
      padding: 12px;
      font-size: 21px; /* was 20px */
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.table thead {
      background-color: #f47166;
      color: white;
      text-align: center;
}
.table td, .table th {
      vertical-align: middle;
      text-align: center;
      font-size: 17px; /* was 16px */
}
body {
      background-color: #fff;
}
/* Transition Animation */
.fade-in {
      opacity: 0;
      transform: translateY(50px);
      transition: all 1s ease;
}
.fade-in.show {
      opacity: 1;
      transform: translateY(0);
}
.career-prospectus {
      height: auto;
      width: 100%;
      border: solid 1px transparent;
      background-color: rgba(230, 230, 230, 0.151);
}
.apply-grid {
      border: solid 2px transparent;
      height: auto;
      background-color: #585858c2;
}

.apply-logo{
      position: relative;
      height: 60px;
      width: 12%;
      margin-top: 40px;
      margin-left: auto;
      margin-right: auto;
      border: solid 2px rgba(0, 0, 0, 0.973);
      border-radius: 12px;
      background-image: url('./login.png');
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.apply-now {
      height: auto;
      width: 100%;
      border: solid 2px transparent;
      margin-left: auto;
      margin-right: auto;
}
.apply-now-1{
      height: 130px;
      width: 100%;
      border: solid 2px transparent;
}

.apply-links {
  color: rgba(0, 0, 255, 0.74);
  margin-top: 10px;
  text-align: center;
}
.apply-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.apply-link-apply {
  color: rgba(0, 0, 255, 0.74);
  font-size: 26px; /* was 25px */
  font-weight: bolder;
  margin-left: auto;
  margin-right: auto;
}
.apply-now-text {
  height: auto;
  width: 100%;
  border: solid 2px transparent;
  text-align: center;
}
.career-prospectus-box {
    padding: 20px;
    border-radius: 10px;
    background: transparent;
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Default (before visible) */
.career-prospectus-title,
.career-propectus-text {
    opacity: 0;
}

/* When visible, animate */
.career-prospectus-title.show {
    animation: slideDown 1s ease forwards;
}

.career-prospectus-text.show {
    animation: slideInLeft 1s ease forwards;
    animation-delay: 0.5s;
}

@keyframes slideDown {
    to {
      opacity: 1;
      transform: translateY(0);
    }
    from {
      opacity: 0;
      transform: translateY(-40px);
    }
}

@keyframes slideInLeft {
    to {
      opacity: 1;
      transform: translateX(0);
    }
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
}

.vision-mission-box {
    padding: 20px;
    border-radius: 10px;
    background: transparent;
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Default (before visible) */
.vision-mission-title,
.vision-mission-text {
    opacity: 0;
}

/* When visible, animate */
.vision-mission-title.show {
    animation: slideDown 1s ease forwards;
}

.vision-mission-text.show {
    animation: slideInLeft 1s ease forwards;
    animation-delay: 0.5s;
}

@keyframes slideDown {
    to {
      opacity: 1;
      transform: translateY(0);
    }
    from {
      opacity: 0;
      transform: translateY(-40px);
    }
}

@keyframes slideInLeft {
    to {
      opacity: 1;
      transform: translateX(0);
    }
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
}

.Program-Objectives-box {
    padding: 20px;
    border-radius: 10px;
    background: transparent;
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Default (before visible) */
.Program-Objectives-title,
.Program-Objectives-text {
    opacity: 0;
}

/* When visible, animate */
.Program-Objectives-title.show {
    animation: slideDown 1s ease forwards;
}

.Program-Objectives-text.show {
    animation: slideInLeft 1s ease forwards;
    animation-delay: 0.5s;
}

@keyframes slideDown {
    to {
      opacity: 1;
      transform: translateY(0);
    }
    from {
      opacity: 0;
      transform: translateY(-40px);
    }
}

@keyframes slideInLeft {
    to {
      opacity: 1;
      transform: translateX(0);
    }
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
}
.footer {
  background-color: #510024;
  color: white;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.footer-logo-section {
  flex: 1 1 250px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo {
  width: 160px;
  height: auto;
}

.logo-text {
  font-weight: bold;
  font-size: 14px;
  line-height: 1.5;
}

.footer-links {
  flex: 2 1 600px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: -10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: white;
}

.footer-column {
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 140px;
}

.footer-column li {
  margin-bottom: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
  color: white;
}

.footer-column li:hover {
  text-decoration: underline;
}

.footer-divider {
  border: none;
  height: 1px;
  background-color: #ccc;
  margin: 20px auto 10px;
  max-width: 95%;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  margin-top: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-top {
    text-align: center;
    gap: 10px;
  }

  .footer-logo-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
  }

  .logo-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer-logo {
    width: 120px;
  }

  .logo-text {
    font-size: 13px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    margin: 0;
  }

  .footer-column {
    margin: 0;
    padding: 0;
  }

  .footer-column li {
    margin-bottom: 5px;
    font-size: 13.5px;
  }

  .footer-divider {
    margin: 15px auto 5px;
  }

  .footer-bottom {
    font-size: 12.5px;
    margin-top: 0;
    padding-bottom: 10px;
  }
}
